package project.background.dto;

import fld.background.system.dto.annotation.Dto;
import fld.background.system.dto.annotation.NoDeleted;
import fld.background.system.dto.annotation.QueryElements;
import fld.background.system.dto.annotation.Sorted;
import fld.background.system.dto.enums.QueryType;

@Dto("用户dto查询")
@NoDeleted
@Sorted({"createTime desc"})
public class UserDto{
	
	@QueryElements(field = "userName", type = QueryType.like)
	private String userName;
	
	@QueryElements(field = "name", type = QueryType.like)
	private String name;
	
	@QueryElements(field = "type", type = QueryType.equal)
	private String type;
	
	@QueryElements(field = "state", type = QueryType.equal)
	private String state;
	
	@QueryElements(field = "companyId", type = QueryType.equal)
	private Long companyId;
	
}
